package com.orange.cetback.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author chenenjun
 * @since 2025-04-07
 */
@Getter
@Setter
public class Dictionary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dictionary_id", type = IdType.AUTO)
    private Integer dictionaryId;

    /**
     * 查询内容
     */
    private String query;

    /**
     * 翻译
     */
    private String translation;
    /**
     * 源语言
     */
    @TableField("`from`")
    private String from;

    /**
     * 目标语言
     */
    @TableField("`to`")
    private String to;

    /**
     * 查询内容发音URL
     */
    private String speakUrl;

    /**
     * 翻译内容发音URL
     */
    private String tSpeakUrl;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
